// 封装自定义全局插件
import XtxSkeleton from '@/components/xtx-skeleton.vue'
import XtxCarousel from '@/components/library/xtx-carousel.vue'
import XtxMore from '@/components/library/xtx-more.vue'
import XtxCity from '@/components/library/xtx-city.vue'
export default {
  install (app) { // 在3.0版本中也是不一样的使用跟组件实例来注册哈,就是vue的实例哈
    // 注册全局的骨架组件
    app.component(XtxSkeleton.name, XtxSkeleton)
    app.component(XtxCarousel.name, XtxCarousel)
    app.component(XtxMore.name, XtxMore)
    app.component(XtxCity.name, XtxCity)
  }
}
